package com.lovo.system.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_stock")
public class StockDto {

    @TableId(value = "stock_id",type = IdType.AUTO)
    private int stockId;

    private String code;

    private String stockName;

    private String stockBrand;

    //1是电脑产品，2是安防产品，3是打印扫描设备，4是办公耗材
    private int stockType;

    private int stockNumber;

    private double stockNewPrice;

    private double stockSuggestPrice;

    private String stockImg;

}
